const mixins = {
    methods: {
        navTo(path, query = {}) {

            if (this.$route.fullPath == path) return
            this.$router.push({ path, query })
        },


    },
    computed: {
        query() {
            return this.$route.query
        }
    },
}

export { mixins }